Skip to main content

graphic

Type

keyword

Summary

Designates the Graphic tool, which is used to create new graphics.

Syntax

graphic

Description

Use the graphic keyword to create graphics.

When using the Graphic tool, the cursor is a crosshairs. This tool is used for creating graphics by clicking at one corner of the graphic and dragging to the opposite corner.

You can set the style of the templateGraphic to the graphic type you want, then draw the graphic with the Graphic tool. The graphic icons on the Tools palette work this way: each one sets the style of the templateGraphic, then chooses the Graphic tool so you can create the graphic.

Examples

choose graphic tool

glossary: keyword

keyword: templateGraphic, graphic

object: graphic

property: style

command: palette, choose

function: tool

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?